package com.qiangesoft.blog.system.service;

import com.qiangesoft.blog.common.mvc.PageQuery;
import com.qiangesoft.blog.common.mvc.PageResultVO;
import com.qiangesoft.blog.system.entity.SysNotice;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 系统公告 服务类
 * </p>
 *
 * @author qiange
 * @since 2023-06-28
 */
public interface ISysNoticeService extends IService<SysNotice> {

    PageResultVO<SysNotice> listNotice(PageQuery pageQuery, String title, Boolean isPublish);

    void insertNotice(SysNotice sysNotice);

    void updateNotice(SysNotice sysNotice);

    void deleteNotice(Long id);

    void deleteBatch(List<Long> list);
}
